package springlearn;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class TestVOAndFunc {
	@Value(value = "h1")
	private String infor;
	@Value(value = "h2")
	private String infor2;
	public String getInfor() {
		return infor;
	}
	public void setInfor(String infor) {
		this.infor = infor;
	}
	public String getInfor2() {
		return infor2;
	}
	public void setInfor2(String infor2) {
		this.infor2 = infor2;
	}
	
	public void TestInfo(){
		System.out.println("infor is:"+infor+"infor2 is: "+infor2);
	}
	public static class t{
		
	}

}
